<?php include '_init_.php';?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="description" content="會員登入頁面" />
<meta name="KEYWORDS" CONTENT="會員登入" />
<meta name="rating" CONTENT="general" /> 
<meta name="robots" content="index,follow"/>
<META HTTP-EQUIV="Pragma" CONTENT="no_cache">
<title>班尼頓寫真攝影 會員登入</title>
<link href="css/bodyc.css" rel="stylesheet" type="text/css" />
<link href="css/menber.css" rel="stylesheet" type="text/css" />
<?php if ($GLOBALS['login_success']):?>
<script type="text/javascript">
function closePopDialog()
{
	if ( typeof(parent.rAlert_login_success)  == 'function' ){
		parent.rAlert_login_success();
	}
}
closePopDialog();
</script>
<?php endif;?>
<style>
.error{
	color:red;
	margin-left:122px;
	margin-right:200px;
	clear:both;
	width:500px;
}
</style>
</head>

<body>
<form action="<?php echo $_SERVER['PHP_SELF']?>" method="post" name="f_login">
  <input type="hidden" name="act" value="login"/>
<div id="log">
  <ul>
    <li class="logtit">班尼頓寫真攝影 會員登入</li>
       <?php if ($GLOBALS['error_message']):?>
     <li class="error"><?php echo $GLOBALS['error_message'];?></li>
     <?php endif;?>
    <li class="logtxt-1">登入帳號：</li>
    <li class="logtxt-2"><input name="email" type="text" class="logtxt-2a" placeholder="請輸入您註冊的電子郵件" /></li>
    <li class="logtxt-1">登入密碼：</li>
    <li class="logtxt-2"><input name="password" class="logtxt-2a" type="password" placeholder="請輸入您的密碼"  /></li>
    <li class="logtxt-3"><input name="" class="logtxt-3a" type="button" value="登入" onclick="document.forms['f_login'].submit();"/></li>
    <li><a href="menberb.php" target="_blank">忘記密碼，請點這裡取回您的密碼。</a></li>
    <li><a href="menberc.php" target="_blank">加入會員</a></li>
  </ul>
</div>
</form>
</body>
</html>